home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / flex 2.4.6 / Flex.r < prev    next >
Encoding:
Text File  |  1994-02-19  |  5.9 KB  |  324 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    Flex.r    -    resources for MPW port of GNU Flex
  3.  *
  4.  *    Based on Matt Holiday's port of 2.3.7
  5.  *    Franklin Chen
  6.  *    Version 2.3.8    Fri, Mar 26, 1993
  7.  *    Version 2.4.6    Sat, Feb 19, 1994
  8.  */
  9.  
  10. #include "Types.r"
  11. #include "SysTypes.r"
  12. #include "Cmdo.r"
  13.  
  14. resource 'vers' (1) {
  15.     0x2,
  16.     0x46,
  17.     release,
  18.     0x0,
  19.     verUS,
  20.     "2.4.6",
  21.     "2.4.6 by Vern Paxson © The Regents of the U. of C., "
  22.     "FSF, Inc."
  23. };
  24.  
  25. resource 'vers' (2) {
  26.     0x2,
  27.     0x46,
  28.     release,
  29.     0x0,
  30.     verUS,
  31.     "2.4.6",
  32.     "GNU for MPW"
  33. };
  34.  
  35. resource 'cmdo' (128, "Flex") {
  36.     {    /* array dialogs: 1 elements */
  37.         /* [1] */
  38.         299,
  39.         "GNU scanner generator.  See Flex(1) for "
  40.         "more information.",
  41.         {    /* array itemArray: 17 elements */
  42.             /* [1] */
  43.             NotDependent {
  44.  
  45.             },
  46.             Files {
  47.                 InputFile,
  48.                 RequiredFile {
  49.                     {17, 14, 37, 117},
  50.                     "Flex File",
  51.                     "",
  52.                     "Select a file of lexical specifications."
  53.                 },
  54.                 Additional {
  55.                     "",
  56.                     ".l",
  57.                     "Only files ending in .l",
  58.                     "All text files",
  59.                     {    /* array TypesArray: 1 elements */
  60.                         /* [1] */
  61.                         text
  62.                     }
  63.                 }
  64.             },
  65.             /* [2] */
  66.             Or {
  67.                 {    /* array OrArray: 1 elements */
  68.                     /* [1] */
  69.                     1
  70.                 }
  71.             },
  72.             Redirection {
  73.                 StandardOutput,
  74.                 {14, 351}
  75.             },
  76.             /* [3] */
  77.             Or {
  78.                 {    /* array OrArray: 1 elements */
  79.                     /* [1] */
  80.                     1
  81.                 }
  82.             },
  83.             Redirection {
  84.                 DiagnosticOutput,
  85.                 {54, 351}
  86.             },
  87.             /* [4] */
  88.             Or {
  89.                 {    /* array OrArray: 4 elements */
  90.                     /* [1] */
  91.                     4111,
  92.                     /* [2] */
  93.                     8207,
  94.                     /* [3] */
  95.                     12303,
  96.                     /* [4] */
  97.                     16399
  98.                 }
  99.             },
  100.             CheckOption {
  101.                 NotSet,
  102.                 {48, 173, 64, 287},
  103.                 "Interactive",
  104.                 "-I",
  105.                 "Generate an interactive scanner."
  106.             },
  107.             /* [5] */
  108.             Or {
  109.                 {    /* array OrArray: 1 elements */
  110.                     /* [1] */
  111.                     1
  112.                 }
  113.             },
  114.             CheckOption {
  115.                 NotSet,
  116.                 {20, 136, 36, 316},
  117.                 "Write to StdOut",
  118.                 "-t",
  119.                 "Write the generated scanner to standard output in"
  120.                 "stead of lex.yy.c."
  121.             },
  122.             /* [6] */
  123.             Or {
  124.                 {    /* array OrArray: 1 elements */
  125.                     /* [1] */
  126.                     1
  127.                 }
  128.             },
  129.             CheckOption {
  130.                 NotSet,
  131.                 {76, 173, 92, 334},
  132.                 "Case insensitive",
  133.                 "-i",
  134.                 "Generate a case-insensitive scanner."
  135.             },
  136.             /* [7] */
  137.             Or {
  138.                 {    /* array OrArray: 1 elements */
  139.                     /* [1] */
  140.                     1
  141.                 }
  142.             },
  143.             CheckOption {
  144.                 NotSet,
  145.                 {94, 173, 110, 334},
  146.                 "8-bit scanner",
  147.                 "-8",
  148.                 "Generate a scanner which can recognize 8"
  149.                 "-bit characters."
  150.             },
  151.             /* [8] */
  152.             Or {
  153.                 {    /* array OrArray: 1 elements */
  154.                     /* [1] */
  155.                     1
  156.                 }
  157.             },
  158.             CheckOption {
  159.                 NotSet,
  160.                 {134, 173, 150, 334},
  161.                 "Debugging scanner",
  162.                 "-d",
  163.                 "Generate a scanner which runs in debug m"
  164.                 "ode."
  165.             },
  166.             /* [9] */
  167.             Or {
  168.                 {    /* array OrArray: 1 elements */
  169.                     /* [1] */
  170.                     1
  171.                 }
  172.             },
  173.             CheckOption {
  174.                 NotSet,
  175.                 {152, 173, 168, 334},
  176.                 "Suppress default rule",
  177.                 "-s",
  178.                 "Suppress the default rule writing unmatc"
  179.                 "hed input to standard output; instead, abort with"
  180.                 " an error."
  181.             },
  182.             /* [10] */
  183.             Or {
  184.                 {    /* array OrArray: 1 elements */
  185.                     /* [1] */
  186.                     1
  187.                 }
  188.             },
  189.             CheckOption {
  190.                 NotSet,
  191.                 {170, 173, 186, 334},
  192.                 "No #line directives",
  193.                 "-L",
  194.                 "Do not generate #line directives in the "
  195.                 "scanner."
  196.             },
  197.             /* [11] */
  198.             Or {
  199.                 {    /* array OrArray: 1 elements */
  200.                     /* [1] */
  201.                     1
  202.                 }
  203.             },
  204.             CheckOption {
  205.                 NotSet,
  206.                 {98, 349, 114, 472},
  207.                 "Backtracking",
  208.                 "-b",
  209.                 "Generate backtracking information to lex"
  210.                 ".backup."
  211.             },
  212.             /* [12] */
  213.             Or {
  214.                 {    /* array OrArray: 1 elements */
  215.                     /* [1] */
  216.                     1
  217.                 }
  218.             },
  219.             CheckOption {
  220.                 NotSet,
  221.                 {128, 349, 144, 472},
  222.                 "Performance",
  223.                 "-p",
  224.                 "Write a performance report to diagnostic output upo"
  225.                 "n completion."
  226.             },
  227.             /* [13] */
  228.             Or {
  229.                 {    /* array OrArray: 1 elements */
  230.                     /* [1] */
  231.                     1
  232.                 }
  233.             },
  234.             CheckOption {
  235.                 NotSet,
  236.                 {146, 349, 162, 472},
  237.                 "Verbose",
  238.                 "-v",
  239.                 "Write to diagnostic output a summary of statistics "
  240.                 "regarding the generated scanner."
  241.             },
  242.             /* [14] */
  243.             Or {
  244.                 {    /* array OrArray: 1 elements */
  245.                     /* [1] */
  246.                     1
  247.                 }
  248.             },
  249.             CheckOption {
  250.                 NotSet,
  251.                 {170, 349, 186, 472},
  252.                 "Trace",
  253.                 "-T",
  254.                 "Run in trace mode: generate messages to "
  255.                 "standard output concerning the form of the input "
  256.                 "and the resultant finite automata."
  257.             },
  258.             /* [15] */
  259.             Or {
  260.                 {    /* array OrArray: 1 elements */
  261.                     /* [1] */
  262.                     1
  263.                 }
  264.             },
  265.             RadioButtons {
  266.                 {    /* array radioArray: 8 elements */
  267.                     /* [1] */
  268.                     {57, 16, 73, 150}, "Compress/Full", "-Cem", Set, "Use equivalence & meta-equivalence class"
  269.                     "es, compress tables.",
  270.                     /* [2] */
  271.                     {73, 16, 89, 150}, "Compress/Meta", "-Cm", NotSet, "Use only meta-equivalence classes, compr"
  272.                     "ess tables.",
  273.                     /* [3] */
  274.                     {89, 16, 105, 150}, "Compress/Equiv", "-Ce", NotSet, "Use only equivalence classes, compress t"
  275.                     "ables.",
  276.                     /* [4] */
  277.                     {105, 16, 121, 150}, "Compress only", "-C", NotSet, "Compress tables without equivalence or m"
  278.                     "eta-equivalence tables.",
  279.                     /* [5] */
  280.                     {121, 16, 137, 150}, "Full/Equiv", "-Cfe", NotSet, "Use equivalence classes but don't compre"
  281.                     "ss tables.",
  282.                     /* [6] */
  283.                     {137, 16, 153, 150}, "Fast/Equiv", "-CFe", NotSet, "Fast scanner with equivalence classes.",
  284.                     /* [7] */
  285.                     {153, 16, 169, 150}, "Full tables", "-Cf", NotSet, "Generate scanner with full, non-compress"
  286.                     "ed tables.",
  287.                     /* [8] */
  288.                     {169, 16, 185, 150}, "Fast scanner", "-CF", NotSet, "Generate fast scanner."
  289.                 }
  290.             },
  291.             /* [16] */
  292.             NotDependent {
  293.  
  294.             },
  295.             TextBox {
  296.                 gray,
  297.                 {49, 10, 191, 160},
  298.                 "Table Compression"
  299.             },
  300.             /* [17] */
  301.             NotDependent {},
  302.             VersionDialog {
  303.                 VersionString {
  304.                     "2.4.6"
  305.                 },
  306.                 "by Vern Paxson © 1990 The Regents of the University"
  307.                 " of California. Portions © Free Software Foundation, Inc.\nMPW port by Matt Holiday and Franklin Chen.",
  308.                 noDialog
  309.             },
  310.             /* [18] */
  311.             Or {
  312.                 {    /* array OrArray: 1 elements */
  313.                     /* [1] */
  314.                     1
  315.                 }
  316.             },
  317.             DoItButton {
  318.  
  319.             }
  320.         }
  321.     }
  322. };
  323.  
  324.